//
//  PackageModel.m
//  DingDongXiChe
//
//  Created by wtjr on 2017/11/27.
//  Copyright © 2017年 xieyingze. All rights reserved.
//

#import "PackageModel.h"

@implementation PackageModel

- (instancetype)initWithDictionary:(NSDictionary *)dic {
    self = [super init];
    if (self) {
        _package_id = dic[@"package_id"];
        _package_name = dic[@"package_name"];
        _package_duration = [dic[@"package_duration"] integerValue];
        _package_price = [dic[@"package_price"] floatValue];
        _package_detail = dic[@"package_detail"];
        _package_imageUrl = dic[@"package_imageUrl"];
    }
    return self;
}

@end
